import { dataCompanyAxios } from '@/utils/request.ts'

// 专利信息列表
export const postCompanyInfoDetailPatentPageList = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: '/companyInfo/detail/patent/pageList',
    method: 'post',
    data
  })
}

// 商标信息列表
export const postCompanyInfoDetailBrandInfoPageList = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: '/companyInfo/detail/brandInfo/pageList',
    method: 'post',
    data
  })
}

// 专利类型聚合统计
export const postCompanyInfoDetailPatentGroupByType = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: '/companyInfo/detail/patent/groupByType',
    method: 'post',
    data
  })
}

// 专利时间类型聚合统计
export const postCompanyInfoDetailPatentGroupByDateType = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: '/companyInfo/detail/patent/groupByDateType',
    method: 'post',
    data
  })
}

// 资质证书列表
export const postCompanyInfoDetailCompanyCertPageList = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: '/companyInfo/detail/companyCert/pageList',
    method: 'post',
    data
  })
}

// 软件著作列表
export const postCompanyInfoDetailSoftwarePageList = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: '/companyInfo/detail/software/pageList',
    method: 'post',
    data
  })
}

// 备案网站列表
export const postCompanyInfoDetailIcpRecordPageList = (data: any): Promise<any> => {
  return dataCompanyAxios({
    url: '/companyInfo/detail/icpRecord/pageList',
    method: 'post',
    data
  })
}
